package org.dyz.banana.platform.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.sql.Timestamp;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author ${author}
 * @since 2020-12-17
 */
@TableName("t_user")
public class TUser implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId("user_id")
    private Long userId;

    @TableField("user_name")
    private String userName;

    @TableField("password")
    private String password;

    @TableField("created_timestamp")
    private Timestamp createdTimestamp;

    @TableField("updated_timestamp")
    private Timestamp updatedTimestamp;

    /**
     * 有效标志
     */
    @TableField("defun_ind")
    private Boolean defunInd;


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Timestamp getCreatedTimestamp() {
        return createdTimestamp;
    }

    public void setCreatedTimestamp(Timestamp createdTimestamp) {
        this.createdTimestamp = createdTimestamp;
    }

    public Timestamp getUpdatedTimestamp() {
        return updatedTimestamp;
    }

    public void setUpdatedTimestamp(Timestamp updatedTimestamp) {
        this.updatedTimestamp = updatedTimestamp;
    }

    public Boolean getDefunInd() {
        return defunInd;
    }

    public void setDefunInd(Boolean defunInd) {
        this.defunInd = defunInd;
    }

    @Override
    public String toString() {
        return "TUser{" +
        "userId=" + userId +
        ", userName=" + userName +
        ", password=" + password +
        ", createdTimestamp=" + createdTimestamp +
        ", updatedTimestamp=" + updatedTimestamp +
        ", defunInd=" + defunInd +
        "}";
    }
}
